function CombiColumnChart(chartDiv,title,pYAxisName,sYAxisName,dataMap,labelAxisPrefixA,labelAxisPrefixB){
	this.title=title;
	this.pYAxisName = pYAxisName;
	this.sYAxisName = sYAxisName;
	this.dataMap = dataMap;
	this.order = true;
	this.axisArrayA = {};
	this.labelAxisPrefixA =labelAxisPrefixA;
	this.axisArrayB ={};
	this.labelAxisPrefixB =labelAxisPrefixB;
	this.dataString ="";
	this.chartDiv = chartDiv;
	this.hasLink = true;
	this.singleY = false;
	this.showTotal = true;
	this.showAvg = false;
	this.showValue = false;
};

CombiColumnChart.prototype.generateDataString = function(){
	this.chartString ="<chart caption='Annual Revenue' subcaption='In Million $'  xaxisname='Year' PYaxisname='Sales in M$' SYAxisName='Cost as % of Revenue' decimals='0' numberPrefix='$' numberSuffix='M' sNumberSuffix='%' setAdaptiveSYMin='1' showPlotBorder='1' palette='2'>";
	this.chartString ="<categories font='Arial' fontSize='12' fontColor='000000'>";
	//for{
	this.chartString ="<category label='2001'/>";
	//}
	this.chartString ="</categories>";
	//for{
	this.chartString ="<dataset>";
	//for{
	this.chartString ="<dataSet seriesName='Product A' color='AFD8F8' showValues='0'>";
	//for{
	this.chartString ="<set value='30' />";
	//}
	this.chartString ="</dataSet>";
	//}
	this.chartString ="</dataSet>";
	//}
	this.chartString ="</chart>";
	
};
CombiColumnChart.prototype.draw = function(){
	this.generateDataString();
	var chart = new FusionCharts("../static/FusionCharts/MSStackedColumn2DLineDY.swf", "CombiColumnChartId", "726", "325", "0", "0");
    chart.setXMLData(this.chartString);
    chart.render(this.chartDiv);
};